import request from '@/utils/request';

export async function getInfoProgress(params: any) {
  return request('/api/project/getInfoProgress', {
    method: 'POST',
    data: params,
  });
}

export async function getInfoByProjectCode(params: any) {
  return request('/api/project/getInfoByProjectCode', {
    method: 'POST',
    params:{
      projectCode: params,
    }
  });
}

export async function getErrorReportProgress(params: any) {
  return request('/api/product/getErrorReportProgress', {
    method: 'POST',
    data: params,
  });
}

// 电子看板- 获取未审批数量
export async function getUnReviewedProgress (params: any) {
  return request('/api/product/getUnReviewedProgress', {
    method: 'POST',
    data: params,
  });
}
